using Microsoft.Xna.Framework;

namespace ZombieHigh2.Viewport
{
    public class ViewportInfo
    {
        static ViewportInfo instance = null;
        int Width;
        int Height;

        private ViewportInfo()
        {
            Width = 0;
            Height = 0;
        }

        public static ViewportInfo Instance
        {
            get
            {
                if (instance == null)
                {
                    instance = new ViewportInfo();
                }

                return instance;
            }
        }

        public int GetWidth
        {
            get { return Width; }
        }

        public int GetHeight
        {
            get { return Height; }
        }

        public void SetViewport(int width, int height)
        {
            Height = height;
            Width = width;
        }


    }
}
